package com.ytjj.qmyx.mall.model;

import java.io.Serializable;
import java.util.Date;

public class MessageRecord implements Serializable {
    /**
     * 消息记录ID
     *
     * @mbg.generated
     */
    private Integer id;

    /**
     * 用户手机号
     *
     * @mbg.generated
     */
    private String uPhone;

    /**
     * 消息类型id
     *
     * @mbg.generated
     */
    private Integer pushId;

    /**
     * 0：存在；1：过期
     *
     * @mbg.generated
     */
    private Byte status;

    /**
     * 业务编号：暂时有订单编号
     *
     * @mbg.generated
     */
    private String bizNo;

    private Date createTime;

    /**
     * 已读未读状态 1-已读 0-未读
     */
    private Integer readStatus;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getuPhone() {
        return uPhone;
    }

    public void setuPhone(String uPhone) {
        this.uPhone = uPhone;
    }

    public Integer getPushId() {
        return pushId;
    }

    public void setPushId(Integer pushId) {
        this.pushId = pushId;
    }

    public Byte getStatus() {
        return status;
    }

    public void setStatus(Byte status) {
        this.status = status;
    }

    public String getBizNo() {
        return bizNo;
    }

    public void setBizNo(String bizNo) {
        this.bizNo = bizNo;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getReadStatus() {
        return readStatus;
    }

    public void setReadStatus(Integer readStatus) {
        this.readStatus = readStatus;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", uPhone=").append(uPhone);
        sb.append(", pushId=").append(pushId);
        sb.append(", status=").append(status);
        sb.append(", bizNo=").append(bizNo);
        sb.append(", createTime=").append(createTime);
        sb.append(", readStatus=").append(readStatus);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}